package com.dayatang.hrm.compensation.domain;

import java.util.Date;
import java.util.List;

import com.dayatang.commons.domain.EntityRepository;
import com.dayatang.commons.domain.Value;
import com.dayatang.hrm.staffing.domain.Employee;

public interface SalaryDataSourcePropertyRepository extends
		EntityRepository<SalaryDataSourceProperty, Long> {

	List<SalaryDataSourceProperty> findBySalaryDataSource(
			SalaryDataSource dataSource, Date queryDate);

	Value calculateValue(SalaryDataSourceProperty salaryDataSourceProperty,
			Employee employee, Date fromDate, Date toDate);

}
